import request from '@/utils/request'

// 查询总体统计数据
export function getSummaryStats(query) {
  return request({
    url: '/test/delivery/reports/summary',
    method: 'get',
    params: query
  })
}

// 查询客户统计数据
export function getCustomerStats(query) {
  return request({
    url: '/test/delivery/reports/customer',
    method: 'get',
    params: query
  })
}

// 查询产品统计数据
export function getProductStats(query) {
  return request({
    url: '/test/delivery/reports/product',
    method: 'get',
    params: query
  })
}

// 查询日期趋势数据
export function getTrendStats(query) {
  return request({
    url: '/test/delivery/reports/trend',
    method: 'get',
    params: query
  })
}

// 查询仪表板全部数据
export function getDashboardData(query) {
  return request({
    url: '/test/delivery/reports/dashboard',
    method: 'get',
    params: query
  })
} 